package com.dream.init;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author Lnl
 * @since 2021/12/3 15:44
 */
@Component
@Order(value = 2)
public class InitRedis implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        System.out.println("初始化开始执行");
    }
}
